Loads the image from a byte array containing the pixels buffer with specified stride (bytes per row of pixels).
シンタックス
'宣言
Public Overloads Sub Import( _
ByVal () As System.Byte, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As WicPixelFormat _
)
public void Import(
System.byte[] ,
System.int ,
System.int ,
System.int ,
WicPixelFormat
)
パラメータ
- bytes
- The source byte array with pixel buffer.
- stride
- The stride (bytes per row) of the image data in the source byte array.
- width
- The width of the image, in pixels.
- height
- The height of the image, in pixels.
- pixelFormat
- The pixel format of the image.
参照